package com.caiyouxi.finance.mapper;

import com.caiyouxi.finance.model.CouponType;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * 券种类
 * Created by Administrator on 2017/10/18.
 */
@Mapper
public interface CouponTypeMapper {

    //查询
    public CouponType select_coupon_type(int id);
    //增加
    public int add_coupon_type(CouponType bean);

    //修改
    public int update_coupon_type(CouponType bean);

    //删除
    public int delete_coupon_type(CouponType bean);
    //查询所有
    public List<CouponType> select_coupon_type_by_coupons_ids(HashMap<String,Object> map);
    //查询多少条
    int coupon_type_count(CouponType bean);
    //分页查询
    List<CouponType> coupon_type_list(CouponType bean);
}
